package net.maku.biz.convert;

import net.maku.biz.entity.BizDemocracyEntity;
import net.maku.biz.vo.BizDemocracyVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 民主管理
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-27
*/
@Mapper
public interface BizDemocracyConvert {
    BizDemocracyConvert INSTANCE = Mappers.getMapper(BizDemocracyConvert.class);

    BizDemocracyEntity convert(BizDemocracyVO vo);

    BizDemocracyVO convert(BizDemocracyEntity entity);

    List<BizDemocracyVO> convertList(List<BizDemocracyEntity> list);

}